/*
 *  Port.cpp
 *  GraphPaper
 *
 *  Created by Olivier Namet on 20/04/2010.
 *  Copyright 2010 Home. All rights reserved.
 *
 */

#include "Port.h"

#include "Cell.h"


int Port::portCount = 0;

Port::Port(std::string s, Cell *c)
{
	name = s;
	setCell(c);
	
	setId(portCount);
	portCount++;
}